#! /usr/bin/env python
# -*- coding: utf-8 -*-

company_name = '福建优力特材料有限公司'
obj_id = '1925814348980621313'
unit_id = '1925841156643950594'
create_dept = '1820379858379681793'
ins_status = 0



query_sql = '''
SELECT
    count(*) 
FROM
    hgyq_emergency.dual_m_pla_con_aud_task
WHERE
    is_deleted = 0 
    AND create_dept = "''' + create_dept + '''" 
    AND obj_id = "''' + obj_id + '''" 
    AND unit_id = "''' + unit_id + '''" 
    AND ins_status = "''' + str(ins_status) + '''"  
'''